/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package logica;

/**
 *
 * @author Thiago A. L. Genez
 */
public class Random {

    public static Integer gerarRandom(Integer min, Integer max) {
        return (new Integer(min.intValue() + (int) ((max.intValue() - min.intValue()) * Math.random())));
    }
}
